package com.xxxx.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxxx.server.pojo.Admin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2021-12-20
 */
public interface AdminMapper extends BaseMapper<Admin> {

    List<Admin> getAllAdmins(Integer id,String keywords);
    // 更新管理员角色
    Integer updateAdminRole(@Param("adminId") Integer adminId,@Param("rids") Integer[] rids);
}
